home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 42 / Amiga Format AFCD42 (Issue 126, Aug 1999).iso / -serious- / graphics / g-dec / pbm / pnmtopng.man < prev    next >
Text File  |  1999-05-14  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4.      pnmtopng(1)            AMIGA (27 May 1995)            pnmtopng(1)
  5.  
  6.  
  7.  
  8.      NAME
  9.           pnmtopng - convert a portable anymap into a Portable Network
  10.           Graphics file
  11.  
  12.      SYNOPSIS
  13.           pnmtopng [-verbose] [-interlace] [-downscale] [pnmfile]
  14.  
  15.      DESCRIPTION
  16.           Reads a portable pixmap as input.  Produces a Portable
  17.           Network Graphics file as output.
  18.  
  19.           Color values in PNG files are either eight or sixteen bits
  20.           wide, so pnmtopng will automatically scale colors to have a
  21.           maxval of 255 or 65535.  Grayscale files will be produced
  22.           with bit depths 1, 2, 4, 8 or 16.  An extra pnmdepth step is
  23.           not necessary.
  24.  
  25.      OPTIONS
  26.           -verbose
  27.                Display the format of the output file.
  28.  
  29.           -interlace
  30.                Creates an interlaced PNG file (Adam7).
  31.  
  32.           -downscale
  33.                Enables scaling of maxvalues of more then 65535 to 16
  34.                bit. Since this means loss of image data, the step is
  35.                not performed by default.
  36.  
  37.           All flags can be abbreviated to their shortest unique
  38.           prefix.
  39.  
  40.      SEE ALSO
  41.           pngtopnm(1), gif2png(1), pnm(5)
  42.  
  43.      BUGS
  44.           Due the fact that PNM files only include image data, it is
  45.           not possible to preserve extra data (e.g. comments) stored
  46.           with an image file. Instead of xxxtopnm|pnmtopng, a specific
  47.           converter should be used, if available. E.g.  gif2png (GIF
  48.           conversion), etc. (This is not really a bug in pnmtopng,
  49.           more a general problem with intermediate formats.)
  50.  
  51.           Information about scaling is not preserved. No sBIT chunks
  52.           are created.
  53.  
  54.      AUTHOR
  55.           Copyright (C) 1995 by Alexander Lehmann, based on pnmtorast,
  56.           (C) 1989,1990 by Jef Poskanzer.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 7/15/95)
  64.  
  65.  
  66.  
  67.